package com.chunxuan.langquan.dao.bean;

import java.io.Serializable;

// 微信登录成功以后得到的user信息
public class WxUserInfo1 implements Serializable {

    private static final long serialVersionUID = 3916320720320081082L;
    private String openid;// ": "ovudM6e7BsFqDfyvw0TkDtw-OxHc",
    private String nickname;// ": "王子的186",
    private String sex;// ": 0,
    private String language;// ": "zh_CN",
    private String city;// ": "",
    private String province;// ": "",
    private String country;// ": "",
    private String headimgurl;// ": "https:\/\/thirdwx.qlogo.cn\/mmopen\/vi_32\/nFjwzhDmSTHovqZWpGGicmQbIc7JCPF7IvcibaDhhQqKzRcx2gCoibPLkTQu9bhTNaK1VSiaxUNW1hORgmiaz2rvjnQ\/132",
    //    private String privilege;// ": [],
    private String unionid;// ": "ovEDp0SDIUF367-t1zXeaWC1sE54"

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getHeadimgurl() {
        return headimgurl;
    }

    public void setHeadimgurl(String headimgurl) {
        this.headimgurl = headimgurl;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    @Override
    public String toString() {
        return "WxUserInfo{" +
                "openid='" + openid + '\'' +
                ", nickname='" + nickname + '\'' +
                ", sex='" + sex + '\'' +
                ", language='" + language + '\'' +
                ", city='" + city + '\'' +
                ", province='" + province + '\'' +
                ", country='" + country + '\'' +
                ", headimgurl='" + headimgurl + '\'' +
                ", unionid='" + unionid + '\'' +
                '}';
    }
}
